package actiontiktokmodelmysql

import (
	"gorm.io/gorm"
	"time"
)

// ActionReissueRelationship 发放道具
type ActionReissueRelationship struct {
	Id           int64          `gorm:"primaryKey;autoIncrement;comment:id" json:"id"`
	UserId       string         `json:"userId" gorm:"column:user_id;type:varchar(256);not null;default:'';comment:用户id"`
	UserIdOther  string         `json:"userIdOther" gorm:"column:user_id_other;type:varchar(256);not null;default:'';comment:用户id"`
	Relationship int64          `json:"relationship" gorm:"column:relationship;type:bigint;default:0;not null;comment:关系枚举"` // 创建人id
	JobDesc      string         `json:"jobDesc" gorm:"column:job_desc;type:varchar(256);not null;default:'';comment:发放描述描述"`
	Status       int            `json:"status" gorm:"column:status;type:tinyint;default:0;not null;comment:1:待发放，2:发放完成"` //
	CreatedAt    time.Time      `json:"created_at" gorm:"column:created_at;type:datetime"`
	UpdatedAt    time.Time      `json:"updated_at" gorm:"column:updated_at;type:datetime"` //补发时间
	DeletedAt    gorm.DeletedAt `gorm:"index;type:datetime" json:"-"`
}
